#-------------------------------------------------
#
# Project created by QtCreator 2012-05-18T14:19:15
#
#-------------------------------------------------

QT       += core

QT       -= gui

TARGET = CommunicationHandler
TEMPLATE = lib

DEFINES += COMMUNICATIONHANDLER_LIBRARY

SOURCES += communicationhandler.cpp

HEADERS += communicationhandler.h

#include(/home/mvoorsluys/Downloads/qextserialport/src/qextserialport.pri)

linux-arm-gnueabi-g++{
    LIBS += -L$$PWD/../../libARM/qextserialport/ -lqextserialport-1.2
}else{
    HARDWARE_PLATFORM = $$system(uname -m)
    message(Platform: $$HARDWARE_PLATFORM)
    contains( HARDWARE_PLATFORM, x86_64 ) {
        LIBS += -L$$PWD/../../lib/qextserialport/ -lqextserialport-1.2
    } else  {
        LIBS += -L$$PWD/../../lib32/qextserialport/ -lqextserialport-1.2
    }
}

INCLUDEPATH += $$PWD/../../include/qextserialport
DEPENDPATH += $$PWD/../../include/qextserialport
